import 'bootstrap'
import './style'

console.log(DEV)
console.log(FLAG)
console.log(EXPRESSION)
// console.log('index11111111')

// class Log {
//   constructor() {
//     console.log("出错了")
//   }
// }
// let log = new Log()
let xhr = new XMLHttpRequest()

// http://localhost:8080 webpack-dev-serve 的服务 -> 转发到 3000

// http-proxy
xhr.open('GET', '/user', true)

xhr.onload = function () {
  console.log(xhr.response)
}

xhr.send()